package com.rtmart.springcloudalibaba.product.mapper;

import com.rtmart.springcloudalibaba.common.domain.Product;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface ProductMapper {
    @Select("SELECT * FROM product WHERE id=#{id}")
    Product findOneById(Long id);
}
